From 4fa6b10c16fa24e123a4114ca990d1b1427f5fc2 Mon Sep 17 00:00:00 2001 From: oliskoli Date: Fri, 24 Nov 2006 21:08:24 +0000 Subject: [PATCH] ISO C fix. git-svn-id: http://gpsbabel.googlecode.com/svn/trunk@2531 f51c46e8-681c-474f-0cfe-069cfd0219fb --- gpsbabel/pcx.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gpsbabel/pcx.c b/gpsbabel/pcx.c index 3b75de0f0..7e77c2d73 100644 --- a/gpsbabel/pcx.c +++ b/gpsbabel/pcx.c @@ -256,8 +256,9 @@ data_read(void) // where our other columns start. case 'F': { int col; - sym_col = 0; char *i = ibuf; + sym_col = 0; + for (col = 0, i = ibuf; *i; col++, i++) { if (0 == case_ignore_strncmp(i, "comment", 7)) { comment_col = col; -- 2.30.2